<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Questionfocus extends Model
{
    protected $table = 'questionfocus';
    public $timestamps = false;

    /**
      * 获得关注者的信息
      */ 
    public function getUserByQuestionfocus()
    {
    	return $this->hasOne('App\Detail', 'user_id');
    }
}
